package com.se2.antiqueexhibition.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class Carousel {

    private int id;
    private String title;
    private String imageUrl;
    private String linkUrl;
    private int orderIndex;
    private int status;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
